@cd /d "%~dp0"

::Compile Resources File
python27\PyQt4\pyrcc4 gowrapper.qrc -o gowrapper_rc.py

::Start GoWrapper
@start "GoWrapper" ..\goagent-local\python27.exe -c "import sys,os,traceback,ctypes;__file__='gowrapper.pyw';exec '''try:execfile('gowrapper.pyw')\nexcept:ctypes.windll.user32.ShowWindow(ctypes.windll.kernel32.GetConsoleWindow(), 1);traceback.print_exc(file=sys.stderr);os.system('pause')'''"